package com.jm.viewmodel;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import com.jm.dao.ManagerDao.AgentsPrice;
import com.jm.entity.ProductAgent;

public class ViewProduct {
	private Long pid;
	private String pname;
	private String pdescribe;
	private String picurl;
	private Double total;
	private BigDecimal primecost;
//	private Set<ProductAgent> productAgents = new HashSet<ProductAgent>(0);
	private String agentscost;
	private List<AgentsPrice> maAgentsPrice;
	
	
	
	
	public List<AgentsPrice> getMaAgentsPrice() {
		return maAgentsPrice;
	}
	public void setMaAgentsPrice(List<AgentsPrice> maAgentsPrice) {
		this.maAgentsPrice = maAgentsPrice;
	}
	public String getAgentscost() {
		return agentscost;
	}
	public void setAgentscost(String agentscost) {
		this.agentscost = agentscost;
	}
	public Long getPid() {
		return pid;
	}
	public void setPid(Long pid) {
		this.pid = pid;
	}
	public String getPname() {
		return pname;
	}
	public void setPname(String pname) {
		this.pname = pname;
	}
	public String getPdescribe() {
		return pdescribe;
	}
	public void setPdescribe(String pdescribe) {
		this.pdescribe = pdescribe;
	}
	public String getPicurl() {
		return picurl;
	}
	public void setPicurl(String picurl) {
		this.picurl = picurl;
	}
	public Double getTotal() {
		return total;
	}
	public void setTotal(Double total) {
		this.total = total;
	}
	public BigDecimal getPrimecost() {
		return primecost;
	}
	public void setPrimecost(BigDecimal primecost) {
		this.primecost = primecost;
	}

	
	
}
